window.addEventListener('click',(e)=>{
    const pointer=document.createElement('div');
    pointer.classList.add('pointer');
    pointer.style.left=`${e.clientX}px`;
    pointer.style.top=`${e.clientY}px`;
    document.body.appendChild(pointer);
    pointer.addEventListener('animationend',()=>{
        pointer.remove();
    })
})